import 'package:get/get.dart';
import 'package:get_demo/pages/download/presentation/controllers/DownloadController.dart';
import 'package:get_demo/pages/download/presentation/controllers/MapDataController.dart';

class DownloadBinding extends Binding {
  @override
  List<Bind> dependencies() {
    print("init download binding");
    return [
      Bind.create<DownloadProvider>((context) => DownloadProvider()),
      Bind.lazyPut<MapDataController>(
          () => MapDataController(downloadProvider: Get.find())),
    ];
  }
}
